#include "hamming.h"
int hamming(int a,int b){
    int xorValue = a^b;
    int count = 0;
    while(xorValue){
        count += 1;
        xorValue = xorValue&(xorValue-1);
    }
    return count;
}
